//
// Created by liangzhenying on 16/2/17.
// Copyright (c) 2016 LiangZhenYing. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YLImageModel.h"

@class YLImageViews;
@protocol YLImageViewsDelegate <NSObject>

- (void)imageViews:(YLImageViews *)view didClick:(id)object;

- (void)imageViews:(YLImageViews *)view showPage:(int)page;

@end


@interface YLImageViews : UIScrollView

@property(nonatomic, strong) NSArray<YLImageModel *> *urls;
@property(nonatomic, weak) id <YLImageViewsDelegate> imgDelegate;

- (void)releaseTimer;

- (void)update;
@end
